package com.lj.graduate.controller.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 接受前端登录请求的参数
 */
@Data
public class UserDTO {

    private String tel;


    private String sex;


    private String userName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;


    private String address;

    private String avatarurl;
    private Integer credits;


    private String authority;

    private String user_pwd;

    private String token;
}